package com.ruibang.glass.produce.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.produce.domain.req.MaterialFeedRecordReq;
import com.ruibang.glass.produce.entity.MaterialFeedRecord;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;
import java.util.List;

/**
 * @Author: songJinKang
 * @CreateTime: 2024-03-11  11:18
 * @Description: TODO
 * @Version: 1.0
 */
public interface MaterialFeedRecordService extends IService<MaterialFeedRecord> {
    Page<MaterialFeedRecord> pageQuery(MaterialFeedRecordReq materialFeedRecordReq);

    void edit(MaterialFeedRecord materialFeedRecord);

    void deleteById(String id);

    void export(MaterialFeedRecordReq materialFeedRecordReq, HttpServletResponse response);

    void insert(MaterialFeedRecord materialFeedRecord);

    List<MaterialFeedRecord> getByDate(LocalDate date);
}
